<template>
  <div >
    <Header/>
    <router-view/>
    
    <Footer v-if="isShowFooter"/>
  </div>
  
</template>

<script>
import Header from "./components/Header/Header.vue"
import Footer from "./components/Footer"
export default {
  computed:{
    isShowFooter(){
      // console.log(this.$route);
      const {path} = this.$route 
      return path !== "/login" && path !== "/register"
    }
  },
  
  components:{
    Header,
    Footer
  }
};
</script>

<style lang="less">
</style>
